package com.xiaomi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaomi.domain.Phones;
import com.xiaomi.mapper.PhonesMapper;
import com.xiaomi.service.PhonesService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 44615
 * @description 针对表【phones】的数据库操作Service实现
 * @createDate 2024-06-04 18:47:24
 */
@Service
public class PhonesServiceImpl extends ServiceImpl<PhonesMapper, Phones>
        implements PhonesService {
    @Override
    public List<Phones> getAllPhones() {
        return baseMapper.selectList(null);
    }
}




